package com.ok.cartoon.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ok.cartoon.domain.dto.OkCartoonDto;
import com.ok.cartoon.domain.po.OkCartoon;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 漫画表 服务类
 * </p>
 *
 * @author author
 * @since 2024-04-28
 */
public interface IOkCartoonService extends IService<OkCartoon> {

    /**
     * @Description :添加漫画
     * @Params :
     * @Return :
     * @Author : hw
     * @Date : 2024-04-28 23:53
    */
    void add(OkCartoonDto okCartoonDto);

    /**
     * @Description :分页条件查询漫画
     * @Params :
     * @Return :
     * @Author : hw
     * @Date : 2024-04-29 08:49
    */
    Page<OkCartoon> pageWith(Integer pageNo, Integer pageSize, Integer categoryId, Integer areaId);

    void delete(Integer id);

    void updateWith(OkCartoonDto okCartoonDto);
}
